/*
 * 项   目：code-generator
 * 作   者：LuoYiMin
 * 邮   箱：1725990142@qq.com
 * 创建时间：2018/12/27 11:05
 */
package com.roin.util.code.generator.model;

import java.io.Serializable;

public class GeneratorConfig implements Serializable {

    private String name;
    private String projectFolder;
    private String htmlFolder;
    private String controllerPackage;
    private String controllerTargetProject;
    private String servicePackage;
    private String serviceTargetProject;
    /**
     * Model全类名，如：com.roin.model.SysExample
     */
    private String modelFullName;
    /**
     * Model包名，如：com.roin.model
     */
    private String modelPackage;
    /**
     * Model类名，如：SysExample
     */
    private String modelName;
    /**
     * Model驼峰法类名，如：sysExample
     */
    private String modelHumpName;
    /**
     * Model蛇形法类名，如：sys_example
     */
    private String modelSnakeName;
    /**
     * 业务模块名称
     */
    private String module;
    /**
     * 作者
     */
    private String author;
    private boolean html=true;
    private boolean controller=true;
    private boolean service=true;
    private boolean model=true;

    private ControllerConfig controllerConfig = new ControllerConfig();
    private ServiceConfig serviceConfig = new ServiceConfig();
    private HtmlConfig htmlConfig = new HtmlConfig();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProjectFolder() {
        return projectFolder;
    }

    public void setProjectFolder(String projectFolder) {
        this.projectFolder = projectFolder;
    }

    public String getHtmlFolder() {
        return htmlFolder;
    }

    public void setHtmlFolder(String htmlFolder) {
        this.htmlFolder = htmlFolder;
    }


    public String getControllerPackage() {
        return controllerPackage;
    }

    public void setControllerPackage(String controllerPackage) {
        this.controllerPackage = controllerPackage;
    }

    public String getServicePackage() {
        return servicePackage;
    }

    public void setServicePackage(String servicePackage) {
        this.servicePackage = servicePackage;
    }

    public String getModelFullName() {
        return modelFullName;
    }

    public void setModelFullName(String modelFullName) {
        this.modelFullName = modelFullName;
    }

    public boolean isHtml() {
        return html;
    }

    public void setHtml(boolean html) {
        this.html = html;
    }

    public boolean isController() {
        return controller;
    }

    public void setController(boolean controller) {
        this.controller = controller;
    }

    public boolean isService() {
        return service;
    }

    public void setService(boolean service) {
        this.service = service;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getModelPackage() {
        return modelPackage;
    }

    public void setModelPackage(String modelPackage) {
        this.modelPackage = modelPackage;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelHumpName() {
        return modelHumpName;
    }

    public void setModelHumpName(String modelHumpName) {
        this.modelHumpName = modelHumpName;
    }

    public String getModelSnakeName() {
        return modelSnakeName;
    }

    public void setModelSnakeName(String modelSnakeName) {
        this.modelSnakeName = modelSnakeName;
    }

    public ControllerConfig getControllerConfig() {
        return controllerConfig;
    }

    public void setControllerConfig(ControllerConfig controllerConfig) {
        this.controllerConfig = controllerConfig;
    }

    public ServiceConfig getServiceConfig() {
        return serviceConfig;
    }

    public void setServiceConfig(ServiceConfig serviceConfig) {
        this.serviceConfig = serviceConfig;
    }

    public HtmlConfig getHtmlConfig() {
        return htmlConfig;
    }

    public void setHtmlConfig(HtmlConfig htmlConfig) {
        this.htmlConfig = htmlConfig;
    }

    public String getControllerTargetProject() {
        return controllerTargetProject;
    }

    public void setControllerTargetProject(String controllerTargetProject) {
        this.controllerTargetProject = controllerTargetProject;
    }

    public String getServiceTargetProject() {
        return serviceTargetProject;
    }

    public void setServiceTargetProject(String serviceTargetProject) {
        this.serviceTargetProject = serviceTargetProject;
    }

    public boolean isModel() {
        return model;
    }

    public void setModel(boolean model) {
        this.model = model;
    }
}
